package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 租赁套餐用户电池表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_rent_battery")
@ApiModel(value = "XhRentBattery对象", description = "租赁套餐用户电池表")
public class XhRentBattery implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("用户自定义名称")
    private String customName;

    @ApiModelProperty("用户ID")
    private Integer memberId;

    @ApiModelProperty("关联门店ID")
    private Integer shopId;

    @ApiModelProperty("关联电池ID")
    private Integer batteryId;

    @ApiModelProperty("电池类型ID")
    private Integer batteryInfoId;

    @ApiModelProperty("业务类型 1.线上支付 2.先享服务")
    private Integer businessType;

    @ApiModelProperty("租赁电池状态1.待安装 2.租赁中 3.已退回")
    private Integer status;

    @ApiModelProperty("收到时间")
    private Date installTime;

    @ApiModelProperty("租赁到期时间")
    private Date expireTime;

    @ApiModelProperty("退回时间")
    private Date backTime;

    @ApiModelProperty("最后换电时间")
    private Date lastChargeTime;

    @ApiModelProperty("管理端备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

}
